<script type="text/html" template>
    <link rel="stylesheet" href="{{ layui.setter.base }}style/extend/jquery-ui-1.9.2.custom.css?v={{ layui.setter.version }}" media="all"/>
    <link rel="stylesheet" href="{{ layui.setter.base }}style/extend/jquery.autocompleter.css?v={{ layui.setter.version }}" media="all"/>
    <link rel="stylesheet" href="{{ layui.setter.base }}style/declare.css?v={{ layui.setter.version }}" media="all"/>
</script>
<div class="child-box">
    <div class="layui-card layadmin-header">
        <div class="layui-breadcrumb" lay-filter="breadcrumb">
            <a href="javascript:" lay-href=""><i class="iconfont iconhome"></i>首页</a>
            <a><cite>外汇管理</cite></a>
            <a><cite>账户余额</cite></a>

            <div class="layui-card-header-left" title="刷新" zmark-event="layui.manage.render">
                <i class="layui-icon layui-icon-refresh layui-anim" zmark-anim="layui-anim-rotate"></i>
            </div>
        </div>
    </div>
    <div class="layui-card mt20">
        <div class="layui-card-body table-box">
            <form class="layui-form" method="post" id="form-acctbal-list" onsubmit="return false" lay-filter="form-acctbal-list">
                <div class="layui-row mt10">
                    <table class="zm-tab acctbal-tab" id="tab-acctbal-list">
                        <colgroup>
                            <col width="140">
                            <col width="150">
                            <col width="150">
                            <col width="100">
                            <col width="120">
                        </colgroup>
                        <thead>
                        <tr>
                            <th>客户账号</th>
                            <th>客户名称</th>
                            <th>币种</th>
                            <th>余额</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                    </table>
                    <div class="blank-list">
                        <i class="iconfont iconwushuju"></i>
                        <dd>无账户余额数据</dd>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<script type="text/html" id="tpl-acctbal-list">
    {{# layui.each(d,function(i,o){ }}
    <tbody>
    <tr class="tr-tb">
        <td>
            <div class="layui-row">
                {{layui.com.removeNull(o.cifAcctNo)}}
            </div>
        </td>
        <td>
            <div class="layui-row">
                {{layui.com.removeNull(o.cifName)}}
            </div>
        </td>
        <td>
            <div class="layui-row">{{layui.com.removeNull(o.curDesc)}}</div>
        </td>
        <td>
            <div class="layui-row">{{o.actBal}}</div>
        </td>
        <td>
            {{# if(o.cur == 'CNY'){ }}
            <div class="layui-row">
                <a href="javascript:" lay-href="/rate/txn/transfer"><span class="made">转账</span></a>
            </div>
            {{# } }}
            {{# if(o.cur != 'CNY'){ }}
            <div class="layui-row">
                <a href="javascript:" lay-href="/rate/txn/settlement"><span class="made">结汇</span></a>
            </div>
            {{# } }}
        </td>
    </tr>
    </tbody>
    {{# }); }}
</script>
<script>
    layui.use('rateAcctbal', layui.factory('rateAcctbal'));
</script>
<style type="text/css">
    .zm-tab tbody td {
        border-left: none;
        border-right: none;
    }
</style>